package com.ruoyi.hospital.service;

import java.util.List;
import com.ruoyi.hospital.domain.CustomerBalance;

/**
 * 会员余额Service接口
 * 
 * @author qichi
 * @date 2023-07-04
 */
public interface ICustomerBalanceService 
{
    /**
     * 查询会员余额
     * 
     * @param id 会员余额主键
     * @return 会员余额
     */
    public CustomerBalance selectCustomerBalanceById(Long id);

    /**
     * 查询会员余额列表
     * 
     * @param customerBalance 会员余额
     * @return 会员余额集合
     */
    public List<CustomerBalance> selectCustomerBalanceList(CustomerBalance customerBalance);

    /**
     * 新增会员余额
     * 
     * @param customerBalance 会员余额
     * @return 结果
     */
    public int insertCustomerBalance(CustomerBalance customerBalance);

    /**
     * 修改会员余额
     * 
     * @param customerBalance 会员余额
     * @return 结果
     */
    public int updateCustomerBalance(CustomerBalance customerBalance);

    /**
     * 批量删除会员余额
     * 
     * @param ids 需要删除的会员余额主键集合
     * @return 结果
     */
    public int deleteCustomerBalanceByIds(Long[] ids);

    /**
     * 删除会员余额信息
     * 
     * @param id 会员余额主键
     * @return 结果
     */
    public int deleteCustomerBalanceById(Long id);
}
